core: Ensure we abort transaction if we fail in the middle
authorColin Walters <walters@verbum.org>
Sat, 7 Jan 2012 16:11:51 +0000 (11:11 -0500)
committerColin Walters <walters@verbum.org>
Sat, 7 Jan 2012 16:11:51 +0000 (11:11 -0500)
commit788dfe89e1aae7f1958606d8af109652d53692f5
treef7c1215c0fdd21ec9b89d04b60bde578611a7a8d
parentfc1ed105b42dad9d2495037d4decfecbdc6fca72
core: Ensure we abort transaction if we fail in the middle

Otherwise we could leave a lot of temp files lying around.
src/ostree/ot-builtin-commit.c
src/ostree/ot-builtin-compose.c